<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构</title>
    <script type="text/javascript">
       let arr = [9,6,55];

       [a,b,c] = arr;

       [r,t] = arr;

       console.log(r);


       const person = {
           name:"jack",
           age:21,
           language: ['java','js','css']
       }

       let {name:y,age} = person;

       let{language} = person;

       let [j,q,k] = language;

       console.log(y);
       console.log(q);




    </script>
</head>
<body>

</body>
</html>